<!--
 * @Description: In User Settings Edit
 * @Author: your name
 * @Date: 2019-09-09 10:07:06
 * @LastEditTime: 2019-10-17 15:30:26
 * @LastEditors: Please set LastEditors
 -->
<template>
  <div class="nodata animated bounceInRight">
    <div class="header">
      <div class="header_box">
        <div @click="go_up" class="header_div">
          <img src="../../assets/histry.png" alt>
          <span class="text_1">返回</span>
        </div>
      </div>
    </div>
    <div class="con">
        <img src="../../assets/nodata.png" alt="">
        <p>还没有您需要的数据，快去通知管理员添加</p>
        <p>或者更改您的筛选条件吧</p>
    </div>
    <div @click="okok" class="okok">知道了</div>
  </div>
</template>

<script>
export default {
  name: "nodata",
  data() {
    return {};
  },
  created() {},
  mounted() {},
  watch: {},
  methods: {
    go_up() {
      this.$router.go(-1);
    },
    okok(){
        this.$router.go(-1);
    }
  }
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="scss">
.nodata {
    background-color: #FBF8F8;
    height:100vh;
  .header {
    width: 100%;
    .header_box {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 0.42rem;
      padding: 0 0.16rem;
      padding-top: 0.17rem;
      .header_div {
        display: flex;
        align-items: center;
        img {
          height: 0.16rem;
          width: 0.08rem;
          margin-right:0.08rem;
        }
        .text_1 {
          font-size: 0.14rem;
          color: #888;
          font-weight: 500;
        }
      }
    }
  }
  .con{
      text-align: center;
      margin-top:0.4rem;
      img{
          height:2.27rem;
          width:100%;
      }
      p{
          font-size: 0.14rem;
          color:#A9A9A9;
      }
  }
  .okok{
      height:0.3rem;
      width:0.96rem;
      border:1px solid #a9a9a9;
      border-radius: 0.03rem;
      font-size: 0.14rem;
      color:#ACACAC;
      line-height: 0.3rem;
      text-align: center;
      margin: 0.3rem auto;
  }
}
</style>
